package a01;
/**
 * @author Sven Eric Panitz
 */
import javax.swing.*;

import java.awt.event.*;

class SimpleAnimation extends MovablePanel {

	private static final long serialVersionUID = 1L;
	Timer t = new Timer(30, new ActionListener() {
		public void actionPerformed(ActionEvent e) {
			doOnTick();
		}
	});

	SimpleAnimation() {
		t.start();
	}


}
